<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> 
</head>
<body>
    <script>
      $ = window.parent.jQuery;
      $("#loadding{{ hash_id }}").hide();
      $("#us{{ hash_id }}").html('<img src="/temp_pic?pic_id={{ pic_id }}&ptype={{ ptype }}"><a class="cr-delete-img" href="javascript:delTmb(\'{{ hash_id }}\');">删除</a>');
      $("#us{{ hash_id }}").show();
      var usage=$("#hide{{ hash_id }}>input").val().split("-")[1];
      $("#hide{{ hash_id }}").html('<input type="hidden" name="temp_img" value="{{ pic_id }}-' + usage + '">');

      window.location.href = "/pic_frame?ptype={{ ptype }}&hash_id={{ hash_id }}";
    </script>
</body>
</html>